.icon-btn {
  display: inline-block;
  cursor: pointer;
  padding: 7px;
  font-size: 18px;
  border-radius: 5px;
  margin: 0 10px 0 0;
  color: #78829d;
  background-color: #ffffff;
  transition: 0.1s;
}

.icon-btn:hover {
  background-color: #f0f4f8;
  color: #383f54;
}
.rotate:hover {
  animation: rotate 0.3s linear forwards;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

.swing:hover {
  animation: swing 0.3s linear forwards;
}
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.jump:hover {
  animation: jump 0.3s linear forwards;
}
@keyframes jump {
  0% {
    top: 0;
  }
  50% {
    top: -3px;
  }
  100% {
    top: 0;
  }
}

.scale:hover {
  animation: scaleAnimation 0.3s linear forwards;
}
@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}


.move-right:hover {
  animation: moveRight 0.3s linear forwards;
}
@keyframes moveRight {
  0% {
      transform: translateX(0);
  }
  50% {
      transform: translateX(5px);
  }
  100% {
      transform: translateX(0);
  }
}

.move-left:hover {
  animation: moveLeft 0.3s linear forwards;
}
@keyframes moveLeft {
  0% {
      transform: translateX(0);
  }
  50% {
      transform: translateX(-5px);
  }
  100% {
      transform: translateX(0);
  }
}